<script setup lang="ts">
import From from "./From.vue"
</script>
<template>
  <div class="login-main">
    <div class="login-body">
      <div class="login-body-left flex">
        <img src="@/assets/login/login_bg.png" class="img" />
      </div>
      <div class="login-body-right flex">
        <div class="login-logo">
          <img src="@/assets/login/logo.png" class="logo" />
          劳务班组人员管理系统
        </div>
        <div style="width: 100%;">
          <From></From>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(60, 122, 255, 0.64);
  width: 100%;
  height: 100%;
  .login-body {
    width: 60vw;
    height: 65vh;
    min-width: 580px;
    min-height: 570px;
    box-shadow: 0px 4px 56px 0px rgba(17, 43, 100, 0.08);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    &-left {
      width: 55%;
      background: linear-gradient(180deg, #3c7aff 0%, #0f44bd 100%);
      padding: 30px 60px;
    }
    &-right {
      width: 45%;
      background-color: #fff;
      padding: 20px 10px;
      flex-direction: column;
      .login-logo {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-bottom: 20px;
        color: #0c3388;
        font-family:
          PingFang SC-Heavy,
          PingFang SC;
        font-weight: 800;
        font-size: 28px;
        text-align: center;
      }
      .logo {
        width: 100px;
        height: 100px;
      }
    }
  }
  .img {
    width: 100%;
    min-width: 320px;
  }
}
</style>
